function deleteById(url,id){
	confirm = confirm('确认要删除该文章吗？');
	if(confirm){
		$.post(url,{'id':id},function(data){
			alert(data);			
		});		
	}
}

function deleteMulti(ids){
	
}

function getIds(){
	var str = "";
	$("input[name='checknew']").each(function(){
		if($(this).attr("checked") == true){
			str += ","+$(this).attr("id");
		}
	});
	return str;
}